Skip to content

Commit 4f3a902

Browse files
better error message
Signed-off-by: thiswillbeyourgithub <[email protected]>
1 parent 25d7f8e commit 4f3a902

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/NtfySummarizer/script.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ fi
2929

3030
output=$(python "${0:h}"/NtfySummarizer.py --topic="$topic_send" 2>&1 >/dev/null) && echo "Success" && exit 0
3131

32-
mess="An error happened during the python execution
32+
mess="An error happened during wdoc execution on input \"$NTFY_MESSAGE\"
33+
3334
Full output:
3435
$output"
3536
ntfy publish $topic_send "$mess" || echo $mess

0 commit comments

Comments
 (0)