Skip to content

Commit

Permalink
feat: Print failure message when error occurs
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik003 committed Sep 5, 2023
1 parent 4f6d7ef commit dacc23f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions jupyter-notebook/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
# SPDX-FileCopyrightText: Copyright DB Netz AG and the capella-collab-manager contributors
# SPDX-License-Identifier: Apache-2.0

handle_exit() {
exit_status=$?
if [ $exit_status -ne 0 ]; then
echo "---FAILURE_PREPARE_WORKSPACE---"
fi
}
trap handle_exit EXIT

set -euo pipefail

echo "---START_PREPARE_WORKSPACE---"
Expand Down

0 comments on commit dacc23f

Please sign in to comment.