Skip to content

Errors are in the out log and not in err #53

@MattiSG

Description

@MattiSG

When working on tosdr-declarations, I noticed that the following error that crashed the engine was visible in the out log but not in the err log:

0|ota      | 2024-07-08 10:34 +00:00: 2024-07-08 10:34:56 error                                                                             unhandledRejection: fatal: Unable to create '/home/debian/tosdr-declarations/data/versions/.git/index.lock': File exists.
0|ota      | 2024-07-08 10:34 +00:00: 
0|ota      | 2024-07-08 10:34 +00:00: Another git process seems to be running in this repository, e.g.
0|ota      | 2024-07-08 10:34 +00:00: an editor opened by 'git commit'. Please make sure all processes
0|ota      | 2024-07-08 10:34 +00:00: are terminated then try again. If it still fails, a git process
0|ota      | 2024-07-08 10:34 +00:00: may have crashed in this repository earlier:
0|ota      | 2024-07-08 10:34 +00:00: remove the file manually to continue.
0|ota      | 2024-07-08 10:34 +00:00: 
0|ota      | 2024-07-08 10:34 +00:00: Error: fatal: Unable to create '/home/debian/tosdr-declarations/data/versions/.git/index.lock': File exists.
0|ota      | 2024-07-08 10:34 +00:00: 
0|ota      | 2024-07-08 10:34 +00:00: Another git process seems to be running in this repository, e.g.
0|ota      | 2024-07-08 10:34 +00:00: an editor opened by 'git commit'. Please make sure all processes
0|ota      | 2024-07-08 10:34 +00:00: are terminated then try again. If it still fails, a git process
0|ota      | 2024-07-08 10:34 +00:00: may have crashed in this repository earlier:
0|ota      | 2024-07-08 10:34 +00:00: remove the file manually to continue.
0|ota      | 2024-07-08 10:34 +00:00: 
0|ota      | 2024-07-08 10:34 +00:00:     at Object.action (file:///home/debian/tosdr-declarations/node_modules/simple-git/dist/esm/index.js:4463:25)
0|ota      | 2024-07-08 10:34 +00:00:     at PluginStore.exec (file:///home/debian/tosdr-declarations/node_modules/simple-git/dist/esm/index.js:4502:25)
0|ota      | 2024-07-08 10:34 +00:00:     at file:///home/debian/tosdr-declarations/node_modules/simple-git/dist/esm/index.js:1369:43
0|ota      | 2024-07-08 10:34 +00:00:     at new Promise (<anonymous>)
0|ota      | 2024-07-08 10:34 +00:00:     at GitExecutorChain.handleTaskData (file:///home/debian/tosdr-declarations/node_modules/simple-git/dist/esm/index.js:1367:16)
0|ota      | 2024-07-08 10:34 +00:00:     at GitExecutorChain.<anonymous> (file:///home/debian/tosdr-declarations/node_modules/simple-git/dist/esm/index.js:1351:44)
0|ota      | 2024-07-08 10:34 +00:00:     at Generator.next (<anonymous>)
0|ota      | 2024-07-08 10:34 +00:00:     at fulfilled (file:///home/debian/tosdr-declarations/node_modules/simple-git/dist/esm/index.js:45:24)
0|ota      | 2024-07-08 10:34 +00:00:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
0|ota      | 2024-07-08 13:34 +00:00: 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions