add error object to log

This commit is contained in:
Maidul Islam
2023-01-25 21:30:32 -08:00
parent cf0e111c09
commit 88908297f5
+1 -1
View File
@@ -116,7 +116,7 @@ const initializeDefaultOrg = async ({
roles: [ADMIN] roles: [ADMIN]
}); });
} catch (err) { } catch (err) {
throw new Error('Failed to initialize default organization and workspace'); throw new Error(`Failed to initialize default organization and workspace [err=${err}]`);
} }
}; };