Skip to content

Commit

Permalink
Fix: For session flag added the error handling (GoogleCloudPlatform#88)…
Browse files Browse the repository at this point in the history
… (GoogleCloudPlatform#1005)

* Fix: for the session flag added the error handling

* updated the log message

---------

Co-authored-by: Vivek Yadav <105432992+VivekY1098@users.noreply.github.com>
Co-authored-by: Vivek Yadav <vivek.yadav@ollion.com>
  • Loading branch information
3 people authored and pratickchokhani committed Feb 6, 2025
1 parent 7695dba commit 626785e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ func (cmd *SchemaCmd) Execute(ctx context.Context, f *flag.FlagSet, _ ...interfa
err := schemaToSpanner.VerifyExpressions(conv)

if err != nil {
logger.Log.Error(fmt.Sprintf("Error while verifying the expressions %v", err))
return subcommands.ExitFailure
}
} else {
Expand Down

0 comments on commit 626785e

Please sign in to comment.