Skip to content

Commit

Permalink
Update alert message
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhanunlu committed Jan 10, 2025
1 parent 4195ae1 commit e508f84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ object GcpApp extends LoaderApp[PubsubSourceConfig, PubsubSinkConfig](BuildInfo)
override def isDestinationSetupError: DestinationSetupErrorCheck = {
// Bad Request - Key belongs to nonexistent service account
case e: TokenResponseException if e.getStatusCode === 400 =>
e.getMessage
"The service account key is invalid"
// Forbidden - Permissions missing for Cloud Storage
case e: GoogleJsonResponseException if Option(e.getDetails).map(_.getCode).contains(403) =>
e.getDetails.getMessage
Expand Down

0 comments on commit e508f84

Please sign in to comment.