File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ export async function loadAcceleratorConfig(props: {
1717 const source = file . fileContent . toString ( ) ;
1818 return AcceleratorConfig . fromString ( source ) ;
1919 } catch ( e ) {
20- throw new Error ( `Unable to load configuration file "${ filePath } " in Repository ${ repositoryName } \n${ e . message } ` ) ;
20+ throw new Error (
21+ `Unable to load configuration file "${ filePath } " in Repository ${ repositoryName } \n${ e . message } code:${ e . code } ` ,
22+ ) ;
2123 }
2224}
Original file line number Diff line number Diff line change @@ -25,4 +25,5 @@ export const isThrottlingError = (e: any) =>
2525 e . code === 'Throttling' ||
2626 e . code === 'ThrottlingException' ||
2727 e . code === 'InternalErrorException' ||
28- e . code === 'InternalException' ;
28+ e . code === 'InternalException' ||
29+ e . code === 'RateExceeded' ; // CodeCommit
You can’t perform that action at this time.
0 commit comments