Skip to content

Commit

Permalink
[server] let me see the error (#18881)
Browse files Browse the repository at this point in the history
svenefftinge authored Oct 6, 2023
1 parent 5bf82cd commit 47ed26d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/server/src/projects/projects-service.ts
Original file line number Diff line number Diff line change
@@ -31,6 +31,7 @@ import { Authorizer, SYSTEM_USER } from "../authorization/authorizer";
import { TransactionalContext } from "@gitpod/gitpod-db/lib/typeorm/transactional-db-impl";
import { ScmService } from "./scm-service";
import { daysBefore, isDateSmaller } from "@gitpod/gitpod-protocol/lib/util/timeutil";
import { TrustedValue } from "@gitpod/gitpod-protocol/lib/util/scrubbing";

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

return project;
} catch (error) {
log.error("Prebuild settings migration failed.", { projectId: project.id, error });
log.error("Prebuild settings migration failed: " + error, {
projectId: project.id,
error: new TrustedValue(error),
});
return project;
}
}

0 comments on commit 47ed26d

Please sign in to comment.