Error reporting now fails gracefully on dev builds
Added function to check if the latest line counts have been generated