Skip to content

Commit f019941

Browse files
aledbfroboquat
authored andcommitted
[server] Add name of blocked account when trying to run prebuilds
1 parent e088f88 commit f019941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/server/ee/src/prebuilds/prebuild-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class PrebuildManager {
9595

9696
try {
9797
if (user.blocked) {
98-
throw new Error("Blocked users cannot start prebuilds.");
98+
throw new Error(`Blocked users cannot start prebuilds (${user.name})`);
9999
}
100100
const existingPB = await this.workspaceDB
101101
.trace({ span })

0 commit comments

Comments
 (0)