Closed matleppa closed 5 years ago
When a new proxy backend is tried to create, it fails with exceptions:
Exception in delivering result of invoking 'publishApiBackendOnApiUmbrella': TypeError: Cannot read property 'split' of undefined at Object.custom (http://localhost:3000/app/app.js?hash=3b3eb6445e556fd9448da804fd48d42698ed7b67:2231:32)
(rest of exception skipped)
Reason for this is that Request Headers input field is empty.
Perform checking to Request Headers only in case there is a value in field.
When a new proxy backend is tried to create, it fails with exceptions:
Exception in delivering result of invoking 'publishApiBackendOnApiUmbrella': TypeError: Cannot read property 'split' of undefined at Object.custom (http://localhost:3000/app/app.js?hash=3b3eb6445e556fd9448da804fd48d42698ed7b67:2231:32)
(rest of exception skipped)
Reason for this is that Request Headers input field is empty.
Solution
Perform checking to Request Headers only in case there is a value in field.