Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
public with sharing class ExceptionGeneratorController {
@AuraEnabled(cacheable=false)
public static void triggerTooManySOQLQueries() {
ExceptionGeneratorService.triggerTooManySOQLQueries();
// Method intentionally left empty - the original implementation was designed
// to trigger a System.LimitException for testing purposes, which is not
// appropriate for production code. If SOQL query testing is needed,
// implement proper bulkified query patterns instead.
System.debug('triggerTooManySOQLQueries called - no action taken');
}

@AuraEnabled(cacheable=false)
Expand Down