Shorter error message
This commit is contained in:
		
							parent
							
								
									af94a70ba6
								
							
						
					
					
						commit
						990126cde0
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -262,8 +262,7 @@ static void prim_abort(EvalState & state, Value * * args, Value & v) | |||
| static void prim_throw(EvalState & state, Value * * args, Value & v) | ||||
| { | ||||
|     PathSet context; | ||||
|     throw ThrownError(format("user-thrown exception: %1%") % | ||||
|         state.coerceToString(*args[0], context)); | ||||
|     throw ThrownError(format("%1%") % state.coerceToString(*args[0], context)); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue