Probably useful to print a proper error message here when it fails

Will only print when compiled with -DDEV though.