Desktop notification on "Unable to start mining"

It really sucks when you start mining and close salad, check a few minutes or even hours later and you face yourself with an “Unable to start mining”,losing good mining time, so getting an desktop notification or something else would be a great idea!