mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +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:
parent
77cdd3467d
commit
bef6fb8168
@ -2,6 +2,17 @@
|
|||||||
|
|
||||||
set -e
|
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
|
# Variables
|
||||||
#-----------------------------------------------------
|
#-----------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user