 
 				timedOut = false
 				timer = $timeout () =>
+					Raven.captureMessage?('pdfng page load timed out after ' + @PAGE_LOAD_TIMEOUT + 'ms')
 					# console.log 'page load timed out', pagenum
 					timedOut = true
 					@spinner.stop(element.canvas)
 					# @jobs = @jobs - 1
 					# @triggerRenderQueue(0)
 					this.errorCallback?('timeout')
-				, 30*1000
+				, @PAGE_LOAD_TIMEOUT
 
 				@pageLoad[pagenum] = @getPage(pagenum)
 


				timedOut = false

				timer = $timeout () ->
					# console.log 'page render timed out', pagenum
					timedOut = true
					result.cancel()
				, 30*1000

				result.then () ->
					# console.log 'page rendered', pagenum


		class PDFRenderer
			JOB_QUEUE_INTERVAL: 25
			PAGE_LOAD_TIMEOUT: 30*1000
			PAGE_RENDER_TIMEOUT: 30*1000

			constructor: (@url, @options) ->
				PDFJS.disableFontFace = true  # avoids repaints, uses worker more
