@glowlabs-org/utils 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -438,7 +438,9 @@ export async function createWeeklyReport({
|
|
438
438
|
console.log(
|
439
439
|
`Farm: ${farm.shortId} has ${farm.carbonCreditsProduced} carbon credits produced`
|
440
440
|
);
|
441
|
-
throw new Error(
|
441
|
+
throw new Error(
|
442
|
+
"Carbon credits produced is less than 0 for farm " + farm.shortId
|
443
|
+
);
|
442
444
|
}
|
443
445
|
|
444
446
|
totalCreditsProduced18dp += parseUnits(
|