pull/5324/head
bunsenstraat 4 weeks ago
parent 49af54bb00
commit f9eba1bef8
  1. 5
      apps/remix-ide/src/app/tabs/script-runner-ui.tsx

@ -26,7 +26,7 @@ const profile = {
const configFileName = '.remix/script.config.json'
let baseUrl = 'https://remix-project-org.github.io/script-runner-generator'
let customBuildUrl = 'http://localhost:4000/build'
const customBuildUrl = 'http://localhost:4000/build'
interface IScriptRunnerState {
customConfig: customScriptRunnerConfig
@ -388,7 +388,7 @@ export class ScriptRunnerUIPlugin extends ViewPlugin {
// The request was made and the server responded with a status code
// that falls out of the range of 2xx
console.log('Error status:', error.response.status);
console.log('Error data:', error.response.data); // This should give you the output being sent
console.log('Error data:', error.response.data); // This should give you the output being sent
console.log('Error headers:', error.response.headers);
if (error.response.data.error) {
@ -424,5 +424,4 @@ export class ScriptRunnerUIPlugin extends ViewPlugin {
}
}
}
Loading…
Cancel
Save