Skip to content

Commit 24ba6f3

Browse files
author
petrnovota
committed
improve the error message to find out easier which script failed
1 parent a390cbd commit 24ba6f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/_static/install_depthai.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ mkdir "$WORKING_DIR"
77
install_path=""
88
path_correct="false"
99

10-
trap 'RET=$? ; echo -e >&2 "\n\x1b[31mFailed installing dependencies. Could be a bug in the installer or unsupported platform. Open a bug report over at https://github.com/luxonis/depthai - exited with status $RET at line $LINENO \x1b[0m\n" ; exit $RET' ERR
10+
trap 'RET=$? ; echo -e >&2 "\n\x1b[31mFailed installing depthai. Could be a bug in the installer or unsupported platform. Open a bug report over at https://github.com/luxonis/depthai - exited with status $RET at line $LINENO \x1b[0m\n" ; exit $RET' ERR
1111

1212
while [ "$path_correct" = "false" ]
1313
do

0 commit comments

Comments
 (0)