Skip to content

Commit

Permalink
fix: result try / catch options
Browse files Browse the repository at this point in the history
  • Loading branch information
zdm committed Jan 27, 2024
1 parent 6697d62 commit 44711ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/package/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default class Docs {
res = result( 200 );
}
catch ( e ) {
res = result.catch( e, { "keepError": false } );
res = result.catch( e );
}

console.log( res + "" );
Expand Down Expand Up @@ -84,7 +84,7 @@ export default class Docs {
res = result( 200 );
}
catch ( e ) {
res = result.catch( e, { "keepError": false } );
res = result.catch( e );
}

console.log( res + "" );
Expand Down Expand Up @@ -329,7 +329,7 @@ export default class Docs {
}
}
catch ( e ) {
res = result.catch( e, { "keepError": false } );
res = result.catch( e );
}

console.log( res + "" );
Expand Down

0 comments on commit 44711ac

Please sign in to comment.