make error message more informative
Authored by: thibautd 2014-07-25
Parent: [r29683]
Child: [r29685]