feat: print user id when error

This commit is contained in:
CalciumIon
2024-07-27 17:55:36 +08:00
parent 88cc88c5d0
commit b7bc205b73
3 changed files with 6 additions and 6 deletions

View File

@@ -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() {