mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-10 16:13:42 +08:00
feat: print user id when error
This commit is contained in:
@@ -179,8 +179,8 @@ func Max(a int, b int) int {
|
||||
}
|
||||
}
|
||||
|
||||
func MessageWithRequestId(message string, id string, userId int) string {
|
||||
return fmt.Sprintf("%s (request id: %s, user id: %d)", message, id, userId)
|
||||
func MessageWithRequestId(message string, id string) string {
|
||||
return fmt.Sprintf("%s (request id: %s)", message, id)
|
||||
}
|
||||
|
||||
func RandomSleep() {
|
||||
|
||||
Reference in New Issue
Block a user