improve msg for better debug (related with #5632)

Add the context that tried to be applied, errno and strerror.