Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
Signed-off-by: tvallin <thibault.vallin@oracle.com>
  • Loading branch information
tvallin committed Jul 12, 2023
1 parent 8fa19ba commit b6cc2a4
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.Collection;
import java.util.LinkedHashSet;
import java.util.List;
Expand All @@ -38,6 +39,7 @@
import javax.lang.model.element.TypeElement;

import io.helidon.build.common.Strings;
import io.helidon.build.common.logging.Log;
import io.helidon.common.HelidonServiceLoader;
import io.helidon.common.processor.TypeFactory;
import io.helidon.common.types.TypeName;
Expand Down Expand Up @@ -405,6 +407,9 @@ public static Optional<String> loadAppPackageName(Path scratchPath) {
*/
public static void saveAppPackageName(Path scratchPath,
String packageName) {
if (packageName.equals("unnamed")) {
Log.debug("Errors: " + Arrays.toString(Thread.currentThread().getStackTrace()));
}
File scratchDir = scratchPath.toFile();
File packageFileName = new File(scratchDir, APPLICATION_PACKAGE_FILE_NAME);
try {
Expand Down

0 comments on commit b6cc2a4

Please sign in to comment.