@@ -11,7 +11,7 @@ import { cloneDeep, filter, isEmpty, map, mapValues, merge, omit, pick, set, uns
1111import { getAppList , getAppSchema , getSpec } from 'src/app'
1212import { AlreadyExists , HttpError , OtomiError , PublicUrlExists , ValidationError } from 'src/error'
1313import getRepo , { Git } from 'src/git'
14- import { cleanSession , DbMessage , getIo , getSessionStack } from 'src/middleware'
14+ import { cleanSession , getIo , getSessionStack } from 'src/middleware'
1515import {
1616 AplBackupRequest ,
1717 AplBackupResponse ,
@@ -2002,8 +2002,6 @@ export default class OtomiStack {
20022002 const sha = await rootStack . git . getCommitSha ( )
20032003 this . emitPipelineStatus ( sha )
20042004 } catch ( e ) {
2005- const msg : DbMessage = { editor : 'system' , state : 'corrupt' , reason : 'deploy' }
2006- getIo ( ) . emit ( 'db' , msg )
20072005 e . message = getSanitizedErrorMessage ( e )
20082006 throw e
20092007 } finally {
@@ -2032,8 +2030,6 @@ export default class OtomiStack {
20322030 const sha = await rootStack . git . getCommitSha ( )
20332031 this . emitPipelineStatus ( sha )
20342032 } catch ( e ) {
2035- const msg : DbMessage = { editor : 'system' , state : 'corrupt' , reason : 'deploy' }
2036- getIo ( ) . emit ( 'db' , msg )
20372033 e . message = getSanitizedErrorMessage ( e )
20382034 throw e
20392035 } finally {
@@ -2072,8 +2068,6 @@ export default class OtomiStack {
20722068 const sha = await rootStack . git . getCommitSha ( )
20732069 this . emitPipelineStatus ( sha )
20742070 } catch ( e ) {
2075- const msg : DbMessage = { editor : 'system' , state : 'corrupt' , reason : 'deploy' }
2076- getIo ( ) . emit ( 'db' , msg )
20772071 e . message = getSanitizedErrorMessage ( e )
20782072 throw e
20792073 } finally {
0 commit comments