Skip to content

Commit

Permalink
axios exceptions to bubble up in postman api
Browse files Browse the repository at this point in the history
  • Loading branch information
barduinor committed Sep 13, 2023
1 parent 8a4d575 commit dae7ca1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/postmanAPI.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
require('dotenv').config()
const axios = require('axios')
const { logAxiosError } = require('./Utils')

class Collection {
constructor (collectionId) {
Expand Down Expand Up @@ -45,9 +44,6 @@ class Folder {
return response.data
}
})
.catch(function (error) {
logAxiosError(error)
})
}

async create (folder) {
Expand All @@ -61,9 +57,6 @@ class Folder {
return response.data
}
})
.catch(function (error) {
logAxiosError(error)
})
}

async update (folderId, folder) {
Expand Down

0 comments on commit dae7ca1

Please sign in to comment.