Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jan 12, 2025
1 parent 7c4d783 commit 5ed11e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ import {
formatResponse,
parseGenerateTag,
} from 'src/build-system/utils/strings';
import { NonRetryableError, RetryableError } from 'src/build-system/retry-handler';
import {
NonRetryableError,
RetryableError,
} from 'src/build-system/retry-handler';

export class FileArchGenerateHandler implements BuildHandler<string> {
readonly id = 'op:FILE:ARCH';
Expand Down Expand Up @@ -70,7 +73,9 @@ export class FileArchGenerateHandler implements BuildHandler<string> {
this.logger.error('Non-retryable error encountered:', error);
return {
success: false,
error: new NonRetryableError('Unexpected error during JSON processing'),
error: new NonRetryableError(
'Unexpected error during JSON processing',
),
};
}
}
Expand Down
1 change: 0 additions & 1 deletion backend/src/build-system/retry-handler.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Logger } from '@nestjs/common';


export class RetryableError extends Error {
constructor(message: string) {
super(message);
Expand Down

0 comments on commit 5ed11e7

Please sign in to comment.