Skip to content

Commit

Permalink
Print error when applying enterprise license fails. (hypermodeinc#5342)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmr authored and dna2github committed Jul 18, 2020
1 parent 2f07507 commit fcc29ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dgraph/cmd/zero/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ func run() {
// Apply enterprise license if one was given.
if license := Zero.Conf.GetString("enterprise_license"); len(license) > 0 {
if err := st.applyLicenseFile(license); err != nil {
glog.Warningf("Cannot apply enterprise license file %s", license)
glog.Warningf("Applying enterprise license file %s failed with error: %s", license,
err.Error())
}
}

Expand Down

0 comments on commit fcc29ab

Please sign in to comment.