Prevent unwanted exceptions from disrupting meteor client

Without this error check on the end parameter, liverange.js throws unwanted exceptions, causing meteor client to go into a broken state and misbehave.

Instead of just quietly swallowing this condition, I've opted to still print a warning during debug mode.