We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8c37bd commit ad966eaCopy full SHA for ad966ea
components/server/src/init.ts
@@ -77,7 +77,7 @@ process.on("SIGUSR1", () => {
77
if (!err) {
78
const filename = path.join(os.tmpdir(), Date.now() + '.cpuprofile');
79
console.log('preparing cpuprofile: ' + filename);
80
- fs.promises.writeFile(filename, JSON.stringify(profile));
+ fs.promises.writeFile(filename, JSON.stringify(profile)).catch(err => console.error("error writing cpuprofile", err));
81
} else {
82
console.error('failed to cpuprofile: ', err);
83
}
0 commit comments