We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d43fc62 commit 5f7d1f5Copy full SHA for 5f7d1f5
src/backend/src/services/runtime-analysis/LogService.js
@@ -462,6 +462,11 @@ class LogService extends BaseService {
462
{
463
const fs = require('fs');
464
const path = '/var/puter/logs/heyputer';
465
+ // Making this directory if it doesn't exist causes issues
466
+ // for users running with development instructions
467
+ if ( ! fs.existsSync('/var/puter') ) {
468
+ return;
469
+ }
470
try {
471
fs.mkdirSync(path, { recursive: true });
472
this.log_directory = path;
0 commit comments