Added some extended error reporting when mg_start function fails for caller's code

Signed-off-by: dance <dancemetalhead@gmail.com>