Skip to content

Commit

Permalink
add more sqlx types and methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenLiuCN committed Oct 2, 2023
1 parent d3180ae commit a4f0e77
Show file tree
Hide file tree
Showing 3 changed files with 302 additions and 36 deletions.
2 changes: 1 addition & 1 deletion generic.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func Raise(s *lua.LState, act func() int) (ret int) {
if r := recover(); r != nil {
switch er := r.(type) {
case error:
s.RaiseError(`failure: %s`, er)
s.RaiseError(er.Error())
case string:
s.RaiseError(`failure: %s`, er)
default:
Expand Down
Loading

0 comments on commit a4f0e77

Please sign in to comment.