File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,7 +104,10 @@ process.on("uncaughtException", (err) => {
104104} ) ;
105105
106106process . on ( "unhandledRejection" , ( reason , _promise ) => {
107- logger . error ( reason instanceof Error ? reason : { reason : String ( reason ) } , "Unhandled Rejection at: Promise" ) ;
107+ logger . error (
108+ reason instanceof Error ? reason : { reason : String ( reason ) } ,
109+ "Unhandled Rejection at: Promise" ,
110+ ) ;
108111} ) ;
109112
110113const port = Number . parseInt ( process . env . PORT || "3000" ) ;
Original file line number Diff line number Diff line change @@ -142,7 +142,10 @@ export const initializeJobs = async () => {
142142 cronSchedule : CLEANUP_CRON_JOB ,
143143 } ) ;
144144 } catch ( error ) {
145- logger . error ( error , `Failed to schedule cleanup job for server ${ serverId } ` ) ;
145+ logger . error (
146+ error ,
147+ `Failed to schedule cleanup job for server ${ serverId } ` ,
148+ ) ;
146149 }
147150 }
148151
@@ -255,7 +258,10 @@ export const initializeJobs = async () => {
255258 cronSchedule : volumeBackup . cronExpression ,
256259 } ) ;
257260 } catch ( error ) {
258- logger . error ( error , `Failed to schedule volume backup ${ volumeBackup . volumeBackupId } ` ) ;
261+ logger . error (
262+ error ,
263+ `Failed to schedule volume backup ${ volumeBackup . volumeBackupId } ` ,
264+ ) ;
259265 }
260266 }
261267
You can’t perform that action at this time.
0 commit comments