Skip to content

Commit

Permalink
if this doesnt fix i dont know what will
Browse files Browse the repository at this point in the history
  • Loading branch information
saboooor committed Aug 26, 2024
1 parent 5a4b4a1 commit db7ae6b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/analyze/functions/analyzeProfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default async function analyzeProfile(id: string) {
sampler = await response_raw.json();
}
catch (err) {
return [{ name: '❌ Processing Error', value: 'birdflop cannot process this spark profile. Please use an alternative spark profile.' }];
return [{ name: '❌ Processing Error', value: `Birdflop cannot process this spark profile. Please use an alternative spark profile. ${err}` }];
}

const platform = sampler.metadata.platform.name;
Expand Down
2 changes: 1 addition & 1 deletion src/analyze/functions/analyzeTimings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default async function analyzeTimings(id: string) {
request = await response_json.json();
}
catch (err) {
return [{ name: '❌ Processing Error', value: 'birdflop cannot process this spark profile. Please use an alternative spark profile.' }];
return [{ name: '❌ Processing Error', value: `birdflop cannot process this spark profile. Please use an alternative spark profile. ${err}` }];
}

let version = request.timingsMaster.version;
Expand Down
2 changes: 1 addition & 1 deletion src/components/partytown/partytown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
*
* @public
*/
export interface PartytownProps extends PartytownConfig { }
export type PartytownProps = PartytownConfig;

/**
* @public
Expand Down
3 changes: 2 additions & 1 deletion src/components/util/PresetUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ export function fromBinary(encoded: string) {
let binary;
try {
binary = atob(encoded);
} catch (error) {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (err) {
return '';
}
const bytes = new Uint8Array(binary.length);
Expand Down
2 changes: 1 addition & 1 deletion src/entry.cloudflare-pages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { manifest } from '@qwik-client-manifest';
import render from './entry.ssr';

declare global {
interface QwikCityPlatform extends PlatformCloudflarePages {}
type QwikCityPlatform = PlatformCloudflarePages;
}

const fetch = createQwikCity({ render, qwikCityPlan, manifest });
Expand Down

0 comments on commit db7ae6b

Please sign in to comment.