Fixed silent swallowing of error due to undefined LOG function