Added completion time to migration procedure.
This commit is contained in:
parent
a231c8fc4c
commit
e9b9539477
|
|
@ -146,6 +146,8 @@ migrationSchema.statics.ingestLegacyDump = async function(){
|
||||||
|
|
||||||
//Pass toke logs over to the stat model for further ingestion
|
//Pass toke logs over to the stat model for further ingestion
|
||||||
await statModel.ingestLegacyTokes(tokeLogs);
|
await statModel.ingestLegacyTokes(tokeLogs);
|
||||||
|
|
||||||
|
loggerUtils.consoleWarn(`Legacy Server Migration Completed at: ${new Date().toLocaleString()}`);
|
||||||
}catch(err){
|
}catch(err){
|
||||||
return loggerUtils.localExceptionHandler(err);
|
return loggerUtils.localExceptionHandler(err);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue