Add more details in log when assertion fails
fixes #77