mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
98e708fa01
commit
e102ed0a6f
@ -57,8 +57,7 @@ export interface JsonApiConfig {
|
||||
export class JsonApi<D = JsonApiData, P extends JsonApiParams = JsonApiParams> {
|
||||
static reqInitDefault: RequestInit = {
|
||||
headers: {
|
||||
"content-type": "application/json",
|
||||
"connection": "keep-alive"
|
||||
"content-type": "application/json"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -475,9 +475,6 @@ export class KubeApi<T extends KubeObject> {
|
||||
.catch(error => {
|
||||
if (error?.type === "aborted") return; // AbortController rejects, we can ignore it
|
||||
|
||||
console.trace();
|
||||
console.error(error);
|
||||
|
||||
callback(null, error);
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user