Browse Source

CI: bail out build on fail

SukkaW 2 years ago
parent
commit
58590eaeb8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Build/index.ts

+ 2 - 1
Build/index.ts

@@ -97,8 +97,9 @@ import { buildPublic } from './build-public';
 
 
     printStats(stats);
     printStats(stats);
   } catch (e) {
   } catch (e) {
-    console.error(e);
+    console.trace(e);
     console.error('Something went wrong!');
     console.error('Something went wrong!');
+    process.exit(1);
   }
   }
 })();
 })();