Closed victuk closed 2 years ago
So I found a small tweak for this error. so basically you go into this location in your drive (or where ever your files are stored of the packages.)
C:\Users\(YOUR_USER)\.atom\packages\rest-client\lib
now you have to select this file,
rest-client-view.coffee
right click on it use any IDE, or import it in any editor to edit the file.
when you open it go to the 285 th line or the line where it says @showTime
in it change the line to
@showTime("|ms")
save it and rerun the rest client
INFO: this will disable the time shown it took to get the request, but that's some other fix you can do later on studying a bit more of coffee or something......
This error will occur when there was no response from a host.
Reproduced with: GET http://invalid-host.com
[Enter steps to reproduce:]
Atom: 1.58.0 x64 Electron: 9.4.4 OS: Zorin OS Thrown From: rest-client package 1.3.3
Stack Trace
Uncaught TypeError: Cannot read property 'elapsedTime' of undefined
Commands
Non-Core Packages