Skip to content

Commit bb5b3a5

Browse files
author
Charles Levesque
committed
fix: Errors not properly handled in some cases
1 parent 0ec8461 commit bb5b3a5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
variables:
22
- name: APP_VERSION
3-
value: '0.2.0'
3+
value: '0.2.1'
44

55
pr: none
66

Diff for: docker-entrypoint.ps1

+3
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,9 @@ try {
407407
}
408408

409409
$tran.Complete()
410+
} catch {
411+
Write-Host "An error occured during the transaction process: $($Error[0].Exception.Message)"
412+
exit 1
410413
} finally {
411414
${conn}?.Dispose()
412415
$tran.Dispose()

0 commit comments

Comments
 (0)