Skip to content

Commit 47ed26d

Browse files
authored
[server] let me see the error (#18881)
1 parent 5bf82cd commit 47ed26d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/server/src/projects/projects-service.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import { Authorizer, SYSTEM_USER } from "../authorization/authorizer";
3131
import { TransactionalContext } from "@gitpod/gitpod-db/lib/typeorm/transactional-db-impl";
3232
import { ScmService } from "./scm-service";
3333
import { daysBefore, isDateSmaller } from "@gitpod/gitpod-protocol/lib/util/timeutil";
34+
import { TrustedValue } from "@gitpod/gitpod-protocol/lib/util/scrubbing";
3435

3536
@injectable()
3637
export class ProjectsService {
@@ -467,7 +468,10 @@ export class ProjectsService {
467468

468469
return project;
469470
} catch (error) {
470-
log.error("Prebuild settings migration failed.", { projectId: project.id, error });
471+
log.error("Prebuild settings migration failed: " + error, {
472+
projectId: project.id,
473+
error: new TrustedValue(error),
474+
});
471475
return project;
472476
}
473477
}

0 commit comments

Comments
 (0)