Better log message
Get the value of the enum value before trying to convert them into int