view run-app.sh @ 3176:1cb6676d1510

Handle failing INSERTs gracefully during gauge measurements import Makes obsolete the code duplicating constraint checking in the application. Although automated constraint naming by PostgreSQL is predictable, name the constraint used for trapping the error explicitly to improve control and traceability.
author Tom Gottfried <tom@intevation.de>
date Mon, 06 May 2019 18:18:17 +0200
parents 9b2218a6c6ae
children
line wrap: on
line source

#!/usr/bin/env bash
exec 2>&1 ./cmd/gemma/gemma --config gemma.toml