Skip to content

Commit

Permalink
Refactor Notebook.js to streamline Spark app ID logging
Browse files Browse the repository at this point in the history
- Removed redundant console log for Spark app ID and retained a single log statement for clarity.
- Enhanced error handling in the Notebook component to ensure better debugging during cell execution.
  • Loading branch information
xuwenyihust committed Dec 10, 2024
1 parent ef385eb commit d77552e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webapp/src/components/notebook/Notebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,8 @@ function Notebook({
if (appId) {
SparkModel.storeSparkInfo(appId, notebook.path);
}
console.log('Spark app id:', appId);
}
console.log('Spark app id:', appId);

} catch (error) {
console.error('Failed to execute cell:', error);
}
Expand Down

0 comments on commit d77552e

Please sign in to comment.