Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

fix

Smaug67391f27051e49b0
diff --git a/backend/app.ts b/backend/app.ts
index ced24787..d31d6b2a 100644
--- a/backend/app.ts
+++ b/backend/app.ts
@@ -19,7 +19,6 @@ export class App {
public uploads_dir: string;
constructor() {
Logger.debug(`Starting in ${process.env.NODE_ENV} mode...`);
- Logger.debug(`${process.env.DATABASE_PASSWORD}`);
this.app = express();
this.port = process.env.PORT || '3000';
this.snowflake = new Snowflake(1661327668261);
diff --git a/backend/classes/DocumentsManager.ts b/backend/classes/DocumentsManager.ts
index 4fd620a4..d41efb3b 100644
--- a/backend/classes/DocumentsManager.ts
+++ b/backend/classes/DocumentsManager.ts
@@ -16,7 +16,8 @@ export default class DocumentsManager extends Base {
} ORDER BY \`name\``,
(err, result) => {
if (err) {
- console.log(err);
+ console.error(err);
+ console.error(err.stack);
return reject('Internal database error.');
}
resolve(result);