mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-13 02:54:27 +00:00
2f9aa12906
* WIP for error boundary support w/ burnettk * updates to catch error boundary events and send them back out w/ burnettk * fixed broken test w/ burnettk * use connector-http and spiffworkflow-proxy from main w/ burnettk * updated smtp and slack connectors in connector-proxy-demo w/ burnettk * added more tests for the service task service call connector to test errors w/ burnettk * added spiffworkflow-connector-command and some code clean up * updated the connectors in the proxy demo * use SpiffWorkflow from git instead of locally * some cleanup while code reviewing --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com>
16 lines
375 B
Bash
Executable File
16 lines
375 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
function error_handler() {
|
|
>&2 echo "Exited with BAD EXIT CODE '${2}' in ${0} script at line: ${1}."
|
|
exit "$2"
|
|
}
|
|
trap 'error_handler ${LINENO} $?' ERR
|
|
set -o errtrace -o errexit -o nounset -o pipefail
|
|
|
|
if [[ -z "${FLASK_ENV:-}" ]]; then
|
|
export FLASK_ENV=development
|
|
fi
|
|
|
|
export FLASK_SESSION_SECRET_KEY=super_secret_key
|
|
poetry run flask run -p 7004
|