mirror of
https://github.com/laurent22/joplin.git
synced 2026-06-18 20:16:34 +02:00
Tools: Display error message asking to create a PR when there is an error in the Linux install script
This commit is contained in:
1 parent
77cdd3467d
commit
bef6fb8168
1 file changed
+11
@@ -2,6 +2,17 @@
|
||||
|
||||
set -e
|
||||
|
||||
trap 'handleError' ERR
|
||||
|
||||
handleError() {
|
||||
echo ""
|
||||
echo "If you encountered an error, please consider fixing"
|
||||
echo "the script for your environment and creating a pull"
|
||||
echo "request instead of asking for support on GitHub or"
|
||||
echo "the forum. The error message above should tell you"
|
||||
echo "where and why the error happened."
|
||||
}
|
||||
|
||||
#-----------------------------------------------------
|
||||
# Variables
|
||||
#-----------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user