Skip to content

Commit

Permalink
Merge pull request #198 from DSD-DBS/feat-handle-jupyter-error
Browse files Browse the repository at this point in the history
feat: Print failure message when error occurs
  • Loading branch information
MoritzWeber0 authored Sep 11, 2023
2 parents 4f6d7ef + dacc23f commit a16f6ac
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 a16f6ac

Please sign in to comment.