Merge pull request #1270 from spotify/freben/sentry-again

chore(backend): make the sentry handling work better
This commit is contained in:
Fredrik Adelöw
2020-06-12 15:53:35 +02:00
committed by GitHub
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
},
"scripts": {
"build": "tsc",
"start": "backstage-cli watch-deps --build -- tsc-watch --onFirstSuccess \\\"nodemon -r esm\\\"",
"start": "backstage-cli watch-deps --build -- tsc-watch --onFirstSuccess \\\"cross-env NODE_ENV=development nodemon -r esm\\\"",
"lint": "backstage-cli lint",
"test": "backstage-cli test",
"clean": "backstage-cli clean",
+4 -1
View File
@@ -65,4 +65,7 @@ async function main() {
});
}
main();
main().catch(error => {
console.error(`Backend failed to start up, ${error}`);
process.exit(1);
});
+1
View File
@@ -13,4 +13,5 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export * from './service/router';