Skip to content

Commit 504533f

Browse files
committed
Drop less 0's in pointers during logging
Needs a proper fix though :-)
1 parent 3720aca commit 504533f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/express/Route.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ open class Route: MiddlewareObject, ErrorMiddlewareObject, RouteKeeper,
351351
let id = self.id ?? {
352352
let oids = ObjectIdentifier(self).debugDescription
353353
// ObjectIdentifier(0x000000010388a610)
354-
let dropPrefix = "ObjectIdentifier(0x000000"
354+
let dropPrefix = "ObjectIdentifier(0x0000"
355355
guard oids.hasPrefix(dropPrefix) else { return oids }
356356
return "0x" + oids.dropFirst(dropPrefix.count).dropLast()
357357
}()

0 commit comments

Comments
 (0)