From 345febaec8bd5fc3e1c95091405907fac154034f Mon Sep 17 00:00:00 2001 From: Henrik Bengtsson Date: Mon, 16 Oct 2023 12:10:21 -0700 Subject: [PATCH] Report also on the current host when 'rsc' fails --- NEWS.md | 4 +++- bin/rsc | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index 19083a5..db2ec57 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,8 @@ ## Version (development version) - * ... +### Miscellaneous + + * Report also on the current host when `rsc` fails. ## Version 0.13.10 [2023-10-10] diff --git a/bin/rsc b/bin/rsc index 352a4c0..702d1a9 100755 --- a/bin/rsc +++ b/bin/rsc @@ -63,7 +63,7 @@ ### rsc config --full ### rsc log ### -### Version: 0.13.10-9000 +### Version: 0.13.10-9001 ### Copyright: Henrik Bengtsson (2022-2023) and Harry Putnam (2022) ### License: ISC @@ -118,7 +118,7 @@ post_mortem_too_long_server_data_dir() { function rsc_error { local msg extra - msg="$* This happened with rsc $(version), RStudio Server $(rserver_version_string) [$(rserver_path)], and R $(r_version_string) [$(r_path)]." + msg="$* This happened with rsc $(version) [running on $(hostname)], RStudio Server $(rserver_version_string) [$(rserver_path)], and R $(r_version_string) [$(r_path)]." extra=$(post_mortem_too_long_server_data_dir) if [[ -n ${extra} ]]; then msg="${msg} ${extra}"