mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Make clear error codes are from HTTP
This commit is contained in:
		| @@ -50,7 +50,7 @@ fun Call.asObservableSuccess(): Observable<Response> { | ||||
|     return asObservable().doOnNext { response -> | ||||
|         if (!response.isSuccessful) { | ||||
|             response.close() | ||||
|             throw Exception("Unsuccessful code ${response.code()}") | ||||
|             throw Exception("HTTP error ${response.code()}") | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user