diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ad01d5ef0..78c4fb2ee 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -269,7 +269,7 @@ stages: sentry-cli releases -p radarr3-ui files "${RELEASENAME}" upload-sourcemaps _output/UI/ --rewrite sentry-cli releases set-commits --auto "${RELEASENAME}" sentry-cli releases deploys "${RELEASENAME}" new -e aphrodite - if [ "$EXIT_CODE" -gt 0 ]; then + if [ $? -gt 0 ]; then echo "##vso[task.logissue type=warning]Error uploading source maps." fi exit 0