forked from MapComplete/MapComplete
		
	Add more debug info
This commit is contained in:
		
							parent
							
								
									0e80b7470c
								
							
						
					
					
						commit
						f954a93b59
					
				
					 1 changed files with 10 additions and 1 deletions
				
			
		
							
								
								
									
										11
									
								
								src/Utils.ts
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								src/Utils.ts
									
										
									
									
									
								
							|  | @ -1098,7 +1098,16 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be | |||
|             } | ||||
|             return { content: data } | ||||
|         } catch (e) { | ||||
|             console.error("Could not parse ", data, "due to", e, "\n", e.stack) | ||||
|             console.error( | ||||
|                 "Could not parse the response of", | ||||
|                 url, | ||||
|                 "which contains", | ||||
|                 data, | ||||
|                 "due to", | ||||
|                 e, | ||||
|                 "\n", | ||||
|                 e.stack | ||||
|             ) | ||||
|             return { error: "malformed", url } | ||||
|         } | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue