Skip to content

Commit

Permalink
to remove - server debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Emms committed Dec 8, 2021
1 parent 1784d17 commit cd5fec0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/server/ee/src/license-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ export class DBLicenseKeySource implements LicenseKeySource {

async getKey(): Promise<{ key: string; domain: string; }> {
let key: string = "";
log.info(`license - ${this.config.license}`)
log.info(`licenseFile - ${this.config.licenseFile}`)
try {
key = await this.licenseDB.get() || "";
} catch (err) {
log.error("cannot get license key - even if you have a license, the EE features won't work", err);
}
log.info(`license-result - key ${key || this.config.license || ""}, domain ${this.config.hostUrl.url.host}`)
return {
key: key || this.config.license || "",
domain: this.config.hostUrl.url.host,
Expand Down

0 comments on commit cd5fec0

Please sign in to comment.