Skip to content
This repository has been archived by the owner on Apr 9, 2018. It is now read-only.

Commit

Permalink
Sync exception message printed when a sync error occurs
Browse files Browse the repository at this point in the history
  • Loading branch information
benorama committed Dec 10, 2014
1 parent 2ce7e27 commit d945cf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/groovy/asset/pipeline/cdn/AssetSync.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ class AssetSync {
remoteManifestFile.save()
}
return true
} catch(e) {
} catch(Exception e) {
providerMeta.remove('secretKey') // Remove secret key from error logs
eventListener?.triggerEvent("StatusError", "Error synchronizing with provider ${providerMeta}")
eventListener?.triggerEvent("StatusError", "Error synchronizing with provider ${providerMeta}, with error message: ${e.message}")
}
return false
}
Expand Down

0 comments on commit d945cf4

Please sign in to comment.