Skip to content

Commit

Permalink
Update error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
insuusvenerati committed Sep 11, 2023
1 parent 928a21b commit e6e80aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ export const getCoordsByZipcode = async (zipcode: string | number) => {
lon: Number(locationData.places[0].longitude)
};
} catch (error) {
console.error(error);
console.error(`Failed to get coordinates for zipcode ${zipcode}:/n ${error}`);
}
};

0 comments on commit e6e80aa

Please sign in to comment.