Error Exit Status 1 and Server Not Responding for Photodiode and LEDs

So when I switched the photodiode to high sensitivity, I mean to say that I changed the conditional statement to say </if(photodiodeValue>100)>

OK that is clear, however when coupled with the statement:-

The other day I was able to run the sketch with a high sensitivity value and as soon as I switched it to a low sensitivity value and uploaded the code I received the Exit status 1 error message.

Makes little sense. However their might be an explanation because a low sensitivity value might involve more LEDs being on. As you have no resistors in series with the LEDs this might trigger too much current being drawn from the USB.

Now you are going to say that you have resistors, but the way you have wired them the bread board tracks short out the resistors. Damaging both the LEDs and the Arduino's output.

Why have you wired four LEDs to sink current and the other four to source current?