Unverified Commit 427fa839 authored by Simon Esposito's avatar Simon Esposito Committed by GitHub
Browse files

Add user_id to Lua accountGetId error log (#442)

parent 4b92d9fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1742,7 +1742,7 @@ func (n *RuntimeLuaNakamaModule) accountGetId(l *lua.LState) int {

	account, err := GetAccount(l.Context(), n.logger, n.db, n.tracker, userID)
	if err != nil {
		l.RaiseError("failed to get account: %s", err.Error())
		l.RaiseError("failed to get account for user_id %s: %s", userID, err.Error())
		return 0
	}