When message is numerical, the call replace on message will cause a TypeError