Skip to content

Commit

Permalink
Merge branch 'main' into renovate/sinon-17.x
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarowolfx authored Jan 22, 2024
2 parents f44c194 + 5e3e540 commit aac337c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest
digest: sha256:abc68a9bbf4fa808b25fa16d3b11141059dc757dbc34f024744bba36c200b40f
# created: 2023-10-04T20:56:40.710775365Z
digest: sha256:e92044720ab3cb6984a70b0c6001081204375959ba3599ef6c42dd99a7783a67
# created: 2023-11-10T00:24:05.581078808Z
2 changes: 1 addition & 1 deletion .kokoro/release/docs-devsite.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions src/bigquery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2331,11 +2331,9 @@ export class BigQueryInt extends Number {
try {
return this.typeCastFunction!(this.value);
} catch (error) {
(
error as Error
).message = `integerTypeCastFunction threw an error:\n\n - ${
(error as Error).message
}`;
if (error instanceof Error) {
error.message = `integerTypeCastFunction threw an error:\n\n - ${error.message}`;
}
throw error;
}
} else {
Expand Down

0 comments on commit aac337c

Please sign in to comment.