You will not be able to see some error message if you do this.
At “Start” -> “Computer” –> right click on “Properties“, and then tap “Advanced system settings“.
In the advanced options of the system context menu, click on “Settings” for Startup and Recovery.
In Startup and Recovery, uncheck the “Automatically restart” for system failure. Click “OK” after unchecking the checkbox.